	$(".suggest_input").keyup(function(){
		alert("dddd")
			if($(".suggest_input").val().length<=0){
				$(".liid").val("");
				$(".suggest_ul").hide(0);
				return; 
			}
			$.ajax({
			    "url" : "zpie.html",
				"data" :  {action:'land_search',ltitle:$(".suggest_input").val()},
				"dataType":"json",
				"type": 'POST', 
				"success":function(data){
					$(".suggest_ul").show(0);
					var contents="";
						for(var i in data){
						var keywords =data.ltitle
						var id =data.id
						contents=contents+"<li title="+keywords+" data-id="+id+" data-k="+keywords+">"+keywords+"</li>";
						}
						$(".suggest_ul").html(contents); 
					
					}          
			});
		  
	});  
	$(".suggest_ul").on("click","li",function(e){
				var target = $(e.currentTarget);
				var id = target.attr("data-id");
				var k = target.attr("data-k");
				var tpl = $("#list_template").html();
				$("#selected_lnk_prods").empty();
				//$(".suggest_input").val(target.text());
				$(".suggest_input").val("");
				$("#selected_lnk_prods").after(template(tpl, {id:id,
                    title:k}));
				$(".suggest_ul").hide(0);
				var lig = $(".ul_list li").length;
					if(lig>9){
						alert("最多只能添加十个");
						return false;
						
					}
			})